* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.custom-navbar {
    background: linear-gradient(90deg, #001f4d, #003285, #2A629A) !important;
    z-index: 1000;
}
.navbar-brand{
    margin-top: 20px;
}
.navbar-nav .nav-link {
    font-size: 18px;
    color: #001f4d ;
}
.navbar-nav .nav-link {
    transition: color 0.3s ease, background-color 0.3s ease;
}
.navbar-nav .nav-link:hover {
    color: #0056b3;
    background-color: #e9ecef;
    border-radius: 5px;
}
.dropdown-menu .dropdown-item:hover {
    color: #001f4d;
    background-color: #e9ecef;
}
/* When the navbar is expanded, change link color */
.custom-navbar:has(.navbar-toggler[aria-expanded="true"]) .nav-link {
    background-color: #e9ecef !important; /* Change to white or any color */
    padding: 20px;
}



/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(90deg, #001f4d, #003285, #2A629A);
    overflow: hidden;
}
.hero-img {
    max-width: 100%;
    margin-bottom: 100px;
}
.hero-img-wrap {
    position: relative;
    margin-top: 50px;
}
/* Icon styles */
.h-icon {
    position: absolute;
    width: 40px;
    height: 50px;
    border: 3px solid #fff;
    border-radius: 10px; 
    padding: 3px;
    transition: transform 0.3s ease-in-out;
}
.hero-content h1{
    font-size: 34px;
    color: #FFF4B7;
}
.hero-content p{
    font-size: 15px;
    color: #FFF4B7;
}

/* Services Section Styles */
.container-ser{
  
    background-color: #fff;
}

.service-wrapper{
    padding: 5% 8%;
}

.service{
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1{
    color: #e9ecef;
    font-size: 5rem;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: transparent;
    letter-spacing: 4px;
    background-color: rgb(4, 52, 83);
    background: linear-gradient(90deg, rgb(223, 232, 245) 0%, rgb(111, 137, 178) 41%, rgb(91, 157, 223) 80%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}
h1:after{
    content: "";
    position: absolute;
    top: 100%;
    left: 10%;
    height: 8px;
    width: 80%;
    border-radius: 8px;
    background-color: rgba(255,255,255,0.05);
}
h1 span{
    position: absolute;
    top: 100%;
    left: 10%;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: #72e2ae;
    animation: anim 4s linear infinite ;
}
@keyframes anim{
    95%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        left: 88%;
    }
}

.cards{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 30px;
    margin-top: 80px;
}

.card{
    height: 200px;
    width: 200px;
    background-color: #001f4d;
    padding: 3% 8%;
    border: 0.2px solid #e9ecef;
    border-radius: 8px;
    transition: .6s;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.card::after{
    content: "";
    position: absolute;
    top:150%;
    left: -200px;
    width: 120%;
    transform: rotate(50deg);
    background-color: #fff;
    height: 18px;
    filter: blur(30px);
    opacity: 0.5;
    transition: 1s;
}
.card:hover:after{
    width: 225%;
    top: -100%;
}

.card i{
    color: #e9ecef;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 4.8rem;
}
.card h2{
    color: #fff;
    font-size: 20px;
    letter-spacing: 1px;
    text-align: center;
}
.card:hover h2, 
.card:hover i {
    color: #20be42;
    transition: color 0.3s ease;
}
.card:hover{
    background-color: transparent;
    border-color:#20be42;
}

.know {
    display: inline-block;
    padding: 12px 24px;
    margin: 10px auto;
    font-size: 18px;
    font-weight: bold;
    color: #e9ecef;
    background-color: #001f4d; /* Dark blue background */
    border: 0.2px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: 0.6s;
    display: flex;
    align-items: center;
    gap: 8px;
    width:180px ;
}

.know::after {
    content: "";
    position: absolute;
    top: 150%;
    left: -200px;
    width: 120%;
    transform: rotate(50deg);
    background-color: #fff;
    height: 18px;
    filter: blur(30px);
    opacity: 0.5;
    transition: 1s;
}

.know:hover::after {
    width: 225%;
    top: -100%;
}

.know i {
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.know:hover {
    background-color: transparent;
    border-color: #20be42; /* Green border on hover */
    color: #20be42;
}

.know:hover i {
    color: #20be42;
    transform: translateX(5px); /* Moves the arrow slightly on hover */
}


@media screen and (max-width:1200px) {
    .cards{
        grid-template-columns: repeat(2,1fr);
    }   
}
@media screen and (max-width:900px) {
    .cards{
        grid-template-columns: repeat(1,1fr);
    }   

    h1{
        font-size: 3.5rem;
    }
}

/* banner sec */
.business-banner {
    background: linear-gradient(90deg, #001f4d, #003285, #2A629A);
    width: 100vw; /* Full viewport width */
    height: 50vh; /* Full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}


/* video */
.outer-container {
   
    background-color: #fff;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}
/* Centered video container at 80% width */
.video-container {
    width: 60%;
    position: relative;
    display: flex;
    justify-content: center;
}
.vid {
    position: relative;
}
.video {
    width: 100%;
    height: 800px;
   
}
.div-1, .div-2 {
    width: 30%;
    background: linear-gradient(90deg, #001f4d, #003285, #2A629A) !important;
    position: absolute;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    transform: translate(0, 0);
    text-align: start;
}
/* Positioning */
.div-1 {
    top: 50%;
    left: 60%;
    transform: translate(50%, 50%);
}
.div-2 {
    top: 10%;
    right: 90%;
    transform: translate(50%, 50%);
}

/* Mobile Responsive Styling video */
@media (max-width: 768px) {
    .vid{
        padding: 5px;
    }
    .video {
        height: 250px; /* Adjust height for mobile */
        padding: 0;
    }
    /* Stack div-1 and div-2 below the video */
    .div-1, .div-2 {
        width: 90%;
        position: static; 
        margin: 10px auto; 
        padding: 10px;
        transform: none;
    }
    /* Ensure .div-1 appears above .div-2 */
    .div-1 {
        order: 1;
    }

    .div-2 {
        order: 2;
    }

    .div-1 p, .div-2 p {
        font-size: 14px; /* Adjust font size for small screens */
    }
}
/* footer */

.footer-section {
    background: linear-gradient(90deg, #001f4d, #003285, #2A629A) !important;
    color: #fff;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}
.footer-section .widget-content {
    text-align: left; /* Align content to the left */
}
.footer-section .footer-logo {
    width: 200px;
    height: 80px;
}
.footer-section .widget-title {
    font-weight: bold;
    margin-bottom: 15px;
    color: #e9ecef;
    font-size: 1.2rem;
}
.footer-section .company-description {
    color: #fff;
    font-size: 1rem;
    margin-top: 10px;
    line-height: 1.5;
}

.footer-section .widget-links {
    list-style: none;
    padding-left: 0;
}
.footer-section .widget-links li {
    margin-bottom: 10px;
}
.footer-section .widget-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease; /* Smooth transition on hover */
}
.footer-section .widget-links  li a:hover {
    color: #001f4d;
}
.footer-section .work-hours:hover{
    color: #001f4d;
}
.footer-section .work-hours i {
    font-size: 1rem; /* Icon size */
    color: #001f4d; /* Icon color */
    margin-right: 10px; /* Space between icon and text */
    vertical-align: middle; /* Align icon vertically with text */
}
.footer-section .work-hours {
    font-size: 1rem;
    margin-top: 10px;
    line-height: 1.5; /* Line spacing */
}
.footer-section .social-icon {
    font-size: 1.5rem; 
    color: #fff;
    transition: color 0.3s, background-color 0.3s; 
    border-radius: 50% ; 
    background-color: #003285; 
    display: inline-block;
    text-align: center;
    width: 40px; 
    height: 40px;
    margin: 10px;
}
.footer-section .social-icon:hover {
    background-color: #001f4d; /* Hover background color */
    color: #fff; /* Icon color on hover */
}
.footer-section hr.mx-auto {
    margin: 20px auto;
    width: 80%;
    border-top: 1px solid #fff;
}
.footer-section .container {
    padding: 0 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-section .row {
        flex-direction: column;
        align-items: center;
    }

    .footer-section .widget-content {
        text-align: center;
    }
}


/* service */
.services-section .service-item {
    background-color: #f8f9fa; /* Optional: Add a background color */
    border: 1px solid #ddd;   /* Optional: Add a border */
    border-radius: 50px;      /* Optional: Add rounded corners */
    padding: 20px;
    text-align: center;
    width: 100%;              /* Let Bootstrap grid control layout */
    height: 100%;             /* Ensures consistent height */
    display: flex;            /* For aligning content */
    flex-direction: column;   /* Stack content vertically */
    justify-content: space-between; /* Spread items evenly */
}

.services-section .service-item img {
    max-width: 100px;         /* Set a maximum width for icons */
    height: auto;             /* Maintain aspect ratio */
    margin: 0 auto 15px;      /* Center and add space below */
}

.services-section .service-item h5 {
    
    margin-bottom: 10px;
}

.services-section .service-item p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #666;             /* Optional: Text color */
}

.services-section .service-item button {
    align-self: center;       /* Center-align button */
}

.row.g-4 > div {
    display: flex;            /* Flex container for Bootstrap columns */
    justify-content: center;
    align-items: stretch;     /* Ensures equal height across all items */
}
/* modal */
.modal-header {
    justify-content: center; /* Centers content in the modal-header */
    position: relative;     /* Keeps the close button properly aligned */
}

.modal-header .btn-close {
    position: absolute;    /* Keeps the close button in the top-right */
    right: 10px;           /* Adjust as needed */
    top: 10px;
}


/* product */
.service-item {
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px;
}

button.btn:hover {
    background-color: #002b5c;
    color: #fff;
    transform: scale(1.05);
    transition: 0.3s ease-in-out;
}

/* Responsive Styling footer */
@media (max-width: 768px) {
    .footer-section .widget-content {
        text-align: center;
        margin-bottom: 20px;
    }
    .footer-section .subscribe-box {
        text-align: center;
    }
}

/* Floating animation hero*/
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-35px);
    }
}
.floating-icon {
    animation: float 4s ease-in-out infinite;
}
/* Position the icons around the main image */
.h-icon:nth-child(2) { /* Code icon */
    top: 35px;
    left: 273px;
}
.h-icon:nth-child(3) { /* Database icon */
    top: 129px;
    right: 192px;
}
.h-icon:nth-child(4) { /* Secure icon */
    top: 95px;
    left: 336px;
}
.h-icon:nth-child(5) { /* Server icon */
    bottom: 308px;
    left: 260px;
}
.h-icon:nth-child(6) { /* Mobile app icon */
    bottom: 250px;
    right: 270px;
}
.h-icon:nth-child(7) { /* PC icon */
    top: -15px;
    right: 228px;
}
.h-icon:hover {
    transform: scale(1.1) rotate(10deg);
}
.container-fluid{
    background-color: #fff;
}
/* icons hero sec */
  @media (max-width: 480px) {
    .h-icon {
        width: 30px;
        height: 40px;
    }
        .h-icon:nth-child(2) { 
            top: 20px;
            left: 165px;
        }
        .h-icon:nth-child(3) { 
            top: 85px;
            right: 115px;
        }
        .h-icon:nth-child(4) { 
            top: 60px;
            left: 205px;
        }
        .h-icon:nth-child(5) { 
            bottom: 220px;
            left: 155px;
        }
        .h-icon:nth-child(6) { 
            bottom:180px;
            right: 162px;
        }
        .h-icon:nth-child(7) { 
            top: -6px;
            right: 138px;
        } 
  }
 @media (max-width: 768px) { 
    .h-icon:nth-child(2) { 
        top: 20px;
        left: 180px;
    }
    .h-icon:nth-child(3) { 
        top: 85px;
        right: 120px;
    }
    .h-icon:nth-child(4) { 
        top: 65px;
        left: 230px;
    }
    .h-icon:nth-child(5) { 
        bottom: 230px;
        left: 180px;
    }
    .h-icon:nth-child(6) { 
        bottom: 190px;
        right: 180px;
    }
    .h-icon:nth-child(7) { 
        top: -5px;
        right: 150px;
    }
}
@media (max-width: 1024px) {
    .h-icon {
       width: 35px;
       height: 45px;
   }
   .h-icon:nth-child(2) { 
       top: 25px;
       left: 192px;
   }
   .h-icon:nth-child(3) { 
       top: 100px;
       right: 132px;
   }
   .h-icon:nth-child(4) { 
       top: 72px;
       left: 238px;
   }
   .h-icon:nth-child(5) { 
       bottom: 242px;
       left: 185px;
   }
   .h-icon:nth-child(6) { 
       bottom: 192px;
       right: 188px;
   }
   .h-icon:nth-child(7) { 
       top: -11px;
       right: 160px;
   }
}
 @media (max-width: 1200px) { 
    .h-icon:nth-child(2) { 
        top: 28px;
        left: 232px;
    }   
    .h-icon:nth-child(3) { 
        top: 118px;
        right: 162px;
    }
    .h-icon:nth-child(4) { 
        top: 95px;
        left: 285px;
    }
    .h-icon:nth-child(5) { 
        bottom: 280px;
        left: 220px;
    }
    .h-icon:nth-child(6) { 
        bottom: 230px;
        right: 230px;
    }
    .h-icon:nth-child(7) { 
        top: -15px;
        right: 192px;
    }
}
